package com.cash.channel.api.constant;

/**
 * @blame taihao
 */
public class Constant {

    public static class CHANNEL {

        public final static String COMMON = "common";
        public final static String APP = "APP";

    }

    public static class SERVICE {
        public final static String 撞库 = "CredentialCheck";
        public final static String 订单进件 = "ApplySubmit";
        public final static String 查询进件审批结果 = "ApplyAuditStatus";
        public final static String 银行卡列表 = "BankCardList";
        public final static String 绑卡 = "BankCardBind";
        public final static String 支持银行列表 = "BankList";
        public final static String 绑卡验证码 = "BankCardBindCaptcha";
        public final static String 贷款试算 = "LoanCalculate";
        public final static String 合同预览 = "ContractShow";
        public final static String 活体校验 = "UserVerify";
        public final static String 提现申请 = "LoanSubmit";
        public final static String 查询放款结果 = "LoanStatus";
        public final static String 查询还款详情 = "RepayDetail";
        public final static String 查询还款计划 = "RepayPlanList";
        public final static String 普通还款 = "RepaySubmit";
        public final static String 查询还款结果 = "RepayStatus";
        public final static String 拉取运营商数据 = "PullOperatorInfo";
        public final static String 提前结清试算 = "RepayCalculate";

    }
    public class ProConstant {
        public final static String REPAY_TILL_TIME = "23:00:00";

        public final static String PROTOCOL_SUBMIT_QUEUE = "protocolSubmitQueue";
        public final static String SMS_UNIQUECODE = "_CHANNEL_SMS_UNIQUECODE";
        public static final String CHANNEL_BANK_CARD_BIND_CALLBACK = "channelBankCardBindCallBack";
        public static final String CHANNEL_QC_STATUS_NOTICE_CALLBACK = "channelQCStatusNoticeCallBack";
        public static final String CHANNEL_WD_STATUS_NOTICE_CALLBACK = "channelWDStatusNoticeCallBack";
        public static final String CHANNEL_REPAY_PLAN_SYN_CALLBACK = "channelRepayPlanSynCallBack";
        public static final String CHANNEL_REPAY_STATUS_CALLBACK = "channelPayStatusCallBack";


    }

    public static class QUEUE_KEY {
        public static final String 认证状态通知平台 = "doStatusNoticePlatformQueueKey";
        public static final String 提现状态通知平台 = "doWDStatusNoticedoPlatformQueueKey";
        public static final String 还款计划表同步队列 = "doRepayPlanSynPlatformQueueKey";
        public static final String 还款结果通知平台= "cashPayQueueKey";
    }


    public static class payType {
        public static final Integer 正常还款 = 1;
        public static final Integer 提前结清 = 2;
    }

    public static class CALLBALL_URL_TYPE {

        public static final String BIND_CARD_CALLBACK = "BIND_CARD_CALLBACK";
        public static final String DEDUCT_CALLBACK = "DEDUCT_CALLBACK";
        public static final String QC_ORDER_STATUS_CALLBACK = "QC_ORDER_STATUS_CALLBACK";
        public static final String REPAY_PLAN_SYN_CALLBACK = "REPAY_PLAN_SYN_CALLBACK";
        public static final String WD_ORDER_STATUS_CALLBACK = "WD_ORDER_STATUS_CALLBACK";

    }

    public enum CHANNEL_CHANGE_TYPE {
        新增("INIT"),
        修改("MODIFY"),
        删除("DELETE"),
        ;

        CHANNEL_CHANGE_TYPE(String type) {
            this.type = type;
        }

        private String type;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
